package com.yue.mapstruct.po.mapper;

import com.yue.mapstruct.dto.CarDto;
import com.yue.mapstruct.po.Car;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * Created by qiuyang on 14/04/2017.
 */
@Mapper
public abstract class AbstractCarMapper<I, O> {
    AbstractCarMapper INSTANCE = Mappers.getMapper(AbstractCarMapper.class);

    public abstract CarDto carToDao(Car car);
}
